package com.dkd.manage.service;

import java.util.List;
import com.dkd.manage.domain.Announcement;

/**
 * 通知公告Service接口
 * 
 * @author yws
 * @date 2024-11-04
 */
public interface IAnnouncementService 
{
    /**
     * 查询通知公告
     * 
     * @param announcementId 通知公告主键
     * @return 通知公告
     */
    public Announcement selectAnnouncementByAnnouncementId(Long announcementId);

    /**
     * 查询通知公告列表
     * 
     * @param announcement 通知公告
     * @return 通知公告集合
     */
    public List<Announcement> selectAnnouncementList(Announcement announcement);

    /**
     * 新增通知公告
     * 
     * @param announcement 通知公告
     * @return 结果
     */
    public int insertAnnouncement(Announcement announcement);

    /**
     * 修改通知公告
     * 
     * @param announcement 通知公告
     * @return 结果
     */
    public int updateAnnouncement(Announcement announcement);

    /**
     * 批量删除通知公告
     * 
     * @param announcementIds 需要删除的通知公告主键集合
     * @return 结果
     */
    public int deleteAnnouncementByAnnouncementIds(Long[] announcementIds);

    /**
     * 删除通知公告信息
     * 
     * @param announcementId 通知公告主键
     * @return 结果
     */
    public int deleteAnnouncementByAnnouncementId(Long announcementId);
}
